#include "StdAfx.h"


time_stamp::time_stamp()
	:epoch_time_(date(1970,1,1))
{
}

const __int64 time_stamp::cur_mill_sec() const
{
	return (boost::posix_time::microsec_clock::local_time() - epoch_time_).total_milliseconds();
}

const __int64 time_stamp::cur_micr_sec() const
{
	return (boost::posix_time::microsec_clock::local_time() - epoch_time_).total_microseconds();
}